package org.ch00.test05;

/*
 *
 *@author XCH
 *@date 2025 - 03 - 05 - 11:51
 *
 */
public class Car extends Door implements Ring{

    @Override
    public void open() {
        System.out.println("汽车门开了");
    }

    @Override
    public void close() {
        System.out.println("汽车门关了");
    }

    @Override
    public void ring() {
        System.out.println("汽车门铃响铃了");
    }
}
